package cc.mrbird.card.dao;

import cc.mrbird.card.domain.CardInfo;
import cc.mrbird.card.domain.RefundCard;

import java.util.List;

public interface CardInfoMapper {

    /**
     * 获取所有卡用户信息
     * @param cardInfo
     * @return
     */
    List<CardInfo> getAllList(CardInfo cardInfo);

    /**
     * 更新卡
     * @param cardInfo
     */
    void updateCardState(CardInfo cardInfo);

    List<RefundCard> getRefundAllList(RefundCard paramRefundCard);
}
